import java.util.Scanner;

import org.omg.CORBA.PUBLIC_MEMBER;


public class Hello {
	

	public static void main(String[] args) {

	Scanner scanner = new Scanner(System.in);
	
/*	do {
	int d = scanner.nextInt();
	if(d==0){
		System.out.println("Greshka");
		break;
	}
	d = d*d;
	System.out.println(d);
	} while(true); */
		
		
	/*do {
		int d = scanner.nextInt();
		int result =1;
		if(d==0){
			System.out.println("1");
			continue;
		}
		for (int i = 1; i <= d; i++) {
			result = result*2;
			
		}
		System.out.println(result);
		} while(true);*/
	int sum =0;
	for (int i = 1; i <= 100; i++) {
		if(i >= 51 && i <= 74) {
			continue;
		}
		sum+=i;
	}
	System.out.println(sum);
	
	
		
		
		
		//ForLoopDemo();
		//PrintPiramide(7);
		
		
	}


	public static void ForLoopDemo() {
		int m = 5;
		int n = 10;
		for (int i = m; i <= n; i++) {
			System.out.println(i);
			
		}
	}

	public static void PrintStars() {
		Scanner scanner = new Scanner(System.in);
		int numberOFStars = scanner.nextInt();
		int i =0;
		
		do {
			System.out.print("* ");
			i++;
		} while (i <= numberOFStars);
	}
	public static void PrintPiramide(int n) {
		
		for (int i = 1; i <= n; i+=2) {
			for (int j = 0; j <= (n-i/2); j++) {
				System.out.print(" ");
			}

			for (int j = 1; j<=i ; j++) {
	
				System.out.print("*");

		}
			System.out.println();
	}
}
}

